import request from '@/utils/request'

const api = {
    shareFeeList: '/activity.shareFee/lists',
    shareFeeAdd: '/activity.shareFee/add',
    shareFeeEdit: '/activity.shareFee/edit',
    shareFeeDel: '/activity.shareFee/delete',
    shareFeeOrderList: '/activity.shareFeeOrder/lists',
    shareFeeOrderDetail: '/activity.shareFeeOrder/detail',
    shareFeeOrderSend: '/activity.shareFeeOrder/sendOut',
    shareFeeOrderSendEdit: '/activity.shareFeeOrder/sendOutEdit'
}

export function shareFeeOrderSendEdit (parameter) {
    return request({
        url: api.shareFeeOrderSendEdit,
        method: 'get',
        params: parameter
    })
}

export function shareFeeOrderSend (parameter) {
    return request({
        url: api.shareFeeOrderSend,
        method: 'get',
        params: parameter
    })
}

export function shareFeeOrderDetail (parameter) {
    return request({
        url: api.shareFeeOrderDetail,
        method: 'get',
        params: parameter
    })
}

export function shareFeeOrderList (parameter) {
    return request({
        url: api.shareFeeOrderList,
        method: 'get',
        params: parameter
    })
}

export function shareFeeDel (parameter) {
    return request({
        url: api.shareFeeDel,
        method: 'get',
        params: parameter
    })
}

export function shareFeeEdit (parameter) {
    return request({
        url: api.shareFeeEdit,
        method: 'post',
        data: parameter
    })
}

export function shareFeeAdd (parameter) {
    return request({
        url: api.shareFeeAdd,
        method: 'post',
        data: parameter
    })
}

export function shareFeeList (parameter) {
    return request({
        url: api.shareFeeList,
        method: 'get',
        params: parameter
    })
}
